package com.wiserun.develop.contract.mapper;

import com.wiserun.common.mapper.BaseMapper;
import com.wiserun.develop.contract.model.Contract;
import com.wiserun.develop.contract.model.ContractDTO;
import com.wiserun.develop.custom.model.Custom;

import java.util.List;

public interface ContractMapper extends BaseMapper<Contract> {
    //查询所有
    List<Contract> getList();
    //条件查询
    List<Contract> getList(ContractDTO contract);
    //统计查询数量
    Integer getNumList(ContractDTO contract);
    //新增
    int addContract(Contract contract);
    //修改
    int updateContract(Contract contract);
    //删除
    int deleteContract(Integer contid);
}
